<div class="portal-task-header">
    <span class="title">{{'INDEX_TODAYWORK' | i18n}}</span>
    <a href="javascript:" class="add-task" act="createSchedule_today" title={{'SCHEDULE_TASK_ADD' | i18n}}></a>
    <div act="schedule_create_menu" class="schedule-create-menu drop-div" style="display: none;">
        <ul class="drop_menu">
            <li act="create_schedule">
                <a href="javascript:;" act="schedule_create">{{'SCHEDULE_TASK_ADD' | i18n}}</a>
            </li>
            <li act="create_visit_plan">
                <a href="javascript:;" act="visit_create">{{ 'PAGE_NEW_VISIT' | i18n }}</a>
            </li>
        </ul>
    </div>
</div>
<div class="portal-task-body">
    <div class="portal-task-blank" act="portal-task-blank">
        <div class="ico"></div>
        <p>{{'INDEX_TODAY_NOWORK' | i18n}}</p>
        <a href="javascript:;" class="taskdue" act="taskdue"><span act="taskduenumber"></span>{{'INDEX_OVERDUE_TASK' | i18n}}</a>
    </div>
    <ul class="portal-task-list" act="portal-task-list">
        {{each data.todayList as task i}}
        <li act="task_{{i}}" taskId="{{task.id}}" tipact="task_tip_href" taskId="{{task.id}}" objectName="{{task.objectName}}">
            <!--<a target="_blank" href="{{task.href}}" data-hasqtip="true" act="task_tip_href" tipid="task_{{task.id}}">-->
                <div class="{{task.portaltaskdiv}}">
                    <div class="{{task.tasktickbox}}">
                        {{#task.img}}
                    </div>
                    <a target="_blank" href="{{task.href}}" data-hasqtip="true" taskId="{{task.id}}" objectName="{{task.objectName}}">
                    <div class="{{task.tasktext}}">
                        <span class="time">{{task.time}}</span>
                        <span class="event">{{task.name}}</span>
                        {{if task.finishStatus == 1}}
                            <span class="visit-complete"><span class="visit-status-underway"></span><span>已完成</span></span>
                        {{/if}}
                    </div>
                    </a>
                </div>
            <!--</a>-->
        </li>
        {{/each}}
    </ul>

    <div act="task_tip" style="display:block"></div>
</div>

<div class="portal-task-footer" act="portal-task-footer">
    <a href="javascript:;" class="more" act="more">{{'INDEX_MORE' | i18n}}<span act="morenumber"></span>{{'INDEX_NUMBER' | i18n}} &gt;&gt;</a>
    <a href="javascript:;" class="taskdue" act="taskdue"><span act="taskduenumber"></span>{{'INDEX_OVERDUE_TASK' | i18n}}</a>
</div>
